﻿using System;

namespace IOA.MES.DataAccess.ReportModel
{
    public class RComponentTimeModel
    {
        private string _barCode = string.Empty;
        private string _qlevel = string.Empty;
        private string _orderNo = string.Empty;
        private string _workOrderNo = string.Empty;
        ///<Summary>
        /// 组件条码
        ///</Summary>
        public string BarCode
        {
            get { return string.IsNullOrWhiteSpace(_barCode) ? string.Empty : _barCode; }
            set { _barCode = value; }
        }

        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo
        {
            get { return string.IsNullOrWhiteSpace(_orderNo) ? string.Empty : _orderNo; }
            set { _orderNo = value; }
        }

        /// <summary>
        /// 工单号
        /// </summary>
        public string WorkOrderNo
        {
            get { return string.IsNullOrWhiteSpace(_workOrderNo) ? string.Empty : _workOrderNo; }
            set { _workOrderNo = value; }
        }

        /// <summary>
        /// 功率档
        /// </summary>
        public decimal? IVPowerLevel { get; set; }

        ///<Summary>
        /// 组件等级
        ///</Summary>
        public string QLevel
        {
            get { return string.IsNullOrWhiteSpace(_qlevel) ? string.Empty : _qlevel; }
            set { _qlevel = value; }
        }

        ///<Summary>
        /// 流水线ID
        ///</Summary>
        public int LineId { get; set; }

        ///<Summary>
        /// 最终站点
        ///</Summary>
        public Enum.SiteType? LastSite { get; set; }

        ///<Summary>
        /// 最终站点时间
        ///</Summary>
        public DateTime? LastSiteTime { get; set; }

        ///<Summary>
        /// 分片时间
        ///</Summary>
        public DateTime? DistributeTime { get; set; }

        ///<Summary>
        /// 焊接时间
        ///</Summary>
        public DateTime? WeldingTime { get; set; }

        ///<Summary>
        /// WeldingLineId
        ///</Summary>
        public int WeldingLineId { get; set; }

        ///<Summary>
        /// 叠层时间
        ///</Summary>
        public DateTime? LaminatedTime { get; set; }

        ///<Summary>
        /// LaminatedLineId
        ///</Summary>
        public int LaminatedLineId { get; set; }

        ///<Summary>
        /// EL1时间
        ///</Summary>
        public DateTime? EL1Time { get; set; }

        ///<Summary>
        /// EL1LineId
        ///</Summary>
        public int EL1LineId { get; set; }

        ///<Summary>
        /// 层压时间
        ///</Summary>
        public DateTime? TopTime { get; set; }

        ///<Summary>
        /// TopLineId
        ///</Summary>
        public int TopLineId { get; set; }

        ///<Summary>
        /// NQC时间
        ///</Summary>
        public DateTime? NQCTime { get; set; }

        ///<Summary>
        /// NQCLineId
        ///</Summary>
        public int NQCLineId { get; set; }

        ///<Summary>
        /// 装框时间
        ///</Summary>
        public DateTime? FramingTime { get; set; }

        ///<Summary>
        /// FramingLineId
        ///</Summary>
        public int FramingLineId { get; set; }

        ///<Summary>
        /// 清洗时间
        ///</Summary>
        public DateTime? CleanTime { get; set; }

        ///<Summary>
        /// CleanLineId
        ///</Summary>
        public int CleanLineId { get; set; }

        ///<Summary>
        /// IV测试时间
        ///</Summary>
        public DateTime? IVTestTime { get; set; }

        ///<Summary>
        /// IVTestLineId
        ///</Summary>
        public int IVTestLineId { get; set; }

        ///<Summary>
        /// 绝缘耐压时间
        ///</Summary>
        public DateTime? InsulatedResistanceTime { get; set; }

        ///<Summary>
        /// InsulatedResistanceLineId
        ///</Summary>
        public int InsulatedResistanceLineId { get; set; }

        ///<Summary>
        /// EL2时间
        ///</Summary>
        public DateTime? EL2Time { get; set; }

        ///<Summary>
        /// EL2LineId
        ///</Summary>
        public int EL2LineId { get; set; }

        ///<Summary>
        /// 铭牌打印时间
        ///</Summary>
        public DateTime? NameplatePrintingTime { get; set; }

        ///<Summary>
        /// NameplatePrintingLineId
        ///</Summary>
        public int NameplatePrintingLineId { get; set; }

        ///<Summary>
        /// 终检时间
        ///</Summary>
        public DateTime? FinalInspectionTime { get; set; }

        ///<Summary>
        /// FinalInspectionLineId
        ///</Summary>
        public int FinalInspectionLineId { get; set; }

        ///<Summary>
        /// 打包时间
        ///</Summary>
        public DateTime? PackTime { get; set; }

        ///<Summary>
        /// PackLineId
        ///</Summary>
        public int PackLineId { get; set; }

        /// <summary>
        /// 报废时间
        /// </summary>
        public DateTime? ScrapTime { get; set; }
    }
}
